// @/store/index.js
export const store = {
    applicationStatus: '', // processing, cancelled, 空
    applicationType: '', // leave, stay
    updateStatus(status, type) {
        this.applicationStatus = status;
        if (type) {
            this.applicationType = type;
        }
    },
    clearStatus() {
        this.applicationStatus = '';
        this.applicationType = '';
    }
};